This property returns the number of results, found for the search that is active in the tab. If you intended to enumerate all documents in the search results, the preferred method is to use one of the Fetch methods, as they are optimized for performance and allow you or the user to control the subset of information that is enumerated.
Read-Only Integer Property
The following example uses this property to enumerate the documents collection. It is for demonstration purposes only, consider using FetchAll instead.
Set FSO = CreateObject("Scripting.FileSystemObject") Set Output = FSO.CreateTextFile("c:\output.txt", True) For I = 0 To App.ActiveTab.Count-1 Output.WriteLine App.ActiveTab.Item(I).AbsoluteFilename Next